
import 'package:WebTest/chooseFood/core/model/meal_model.dart';
import 'package:WebTest/chooseFood/ui/pages/detail/detail_content.dart';
import 'package:flutter/material.dart';

class BDDetailScreen extends StatelessWidget {
  static final routerName = "/detail";
  @override
  Widget build(BuildContext context) {
    final mealModel = ModalRoute.of(context).settings.arguments as BDMealModel;
    return Scaffold(
      appBar: AppBar(
        title: Text(mealModel.title),
      ),
      body: BDDetailContent(mealModel),
    );
  }
}
